package com.vhall.component.entity.account;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 组织架构表
 * </p>
 *
 * @author wangxing
 * @since 2023-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("org")
public class OrgEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 组织架构名称
     */
    private String orgName;

    /**
     * 组织架构code
     */
    private String orgCode;

    /**
     * 组织架构描述
     */
    @TableField("`desc`")
    private String desc;

    /**
     * 创建人 id
     */
    private Integer createBy;

    /**
     * 更新人 id
     */
    private Integer updateBy;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;


}
